<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/helpers.js"></script>

<script>
promise_test(async t => {
  await assertBothRejectDOM(t, navigation.traverseTo("not a real key"), "InvalidStateError");
}, "traverseTo() with invalid key");
</script>
